using formulae volume of cylindrical can